package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.ExtPsychologistMapper;
import com.hgkj.cloud.base.domain.ExtPsychologist;
import com.hgkj.cloud.base.service.ExtPsychologistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExtPsychologistServiceImpl implements ExtPsychologistService {

    @Autowired
    private ExtPsychologistMapper extPsychologistMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return extPsychologistMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ExtPsychologist record) {
        return extPsychologistMapper.insert(record);
    }

    @Override
    public int insertSelective(ExtPsychologist record) {
        return extPsychologistMapper.insertSelective(record);
    }

    @Override
    public ExtPsychologist selectByPrimaryKey(Long id) {
        return extPsychologistMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ExtPsychologist record) {
        return extPsychologistMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ExtPsychologist record) {
        return extPsychologistMapper.updateByPrimaryKey(record);
    }

    @Override
    public ExtPsychologist selectExtPsyInfoByUserUuid(String userUuid) {
        return extPsychologistMapper.selectExtPsyInfoByUserUuid(userUuid);
    }
}
